<div>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>#</th>
                <th>{{'item_image'|translate}}</th>
                <th>{{'item_id'|translate}}</th>
                <th>{{'title'|translate}}</th>
                <th>{{'price'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody ng-repeat="item in itemslist">
            <tr>
                <td>
                    <!-- <input type="checkbox" name="checkids[]" id="item_{{item.item_id}}" ng-click="showInput(item.item_id,item)" value="{{item}}"> -->
                </td>
                <td><img ng-src="{{item.img}}" width="60" /></td>
                <td>{{item.outer_id}}
                    <br> {{item.created_at | ddtt}}</td>
                <td>{{item.title}}</td>
                <td>{{item.price}}</td>
                <td>
                    <div ng-show="!item.itemDelete" id="product_{{item.item_id}}">
                        <span> 返点比例： <input id="proportion-{{item.item_id}}" type="text" value="100" class="input-zk input-small" ng-model="item.proportion"> %</span>
                        <button id="btn-{{item.item_id}}" type="button" class="sui-btn btn-primary" ng-click="addProductItem(item,'item');">保存</button>
                        </span>
                    </div>
                    <div ng-show="item.itemDelete">
                        <span>返点比例：<span style="color: #f00;">{{item.proportion}}%</span></span>
                        
                        <a ng-click="productitemDelete(item.product_id,item.item_id,item)" class="sui-btn btn-danger">{{'退出'|translate}}</a>
                    </div>
                </td>
            </tr>
            <!-- 新sku打折逻辑 -->
            <!-- </table> -->
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="itemsTotal" get-data="pageData(pageNo)"></pager>
    <!-- 分页end -->
</div>